package com.yunxi.market.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class MarketActivityItemQueryRespVO implements Serializable {
    @ApiModelProperty(value = "主键")
    private String itemId;

    @ApiModelProperty(value = "活动编号")
    private String activityCode;

    @ApiModelProperty(value = "项目名称")
    private String itemName;

    @ApiModelProperty(value = "项目描述")
    private String itemDesc;

    @ApiModelProperty(value = "项目类型")
    private Integer itemType;

    @ApiModelProperty(value = "项目预估费用")
    private BigDecimal itemCost;

    @ApiModelProperty(value = "项目实际费用")
    private BigDecimal realItemCost;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "启用或禁用")
    private Integer status;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "是否删除")
    private Integer isDel;

    @ApiModelProperty(value = "分发活动项编号")
    private String detailsId;

    @ApiModelProperty(value = "数据状态 1新增 2删除 3修改")
    private Integer dataType;
}
